package com.lill.sale.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 销售车辆实体
 * 表名 sale_car
 *
 * @author lill
 * @date 2021-09-25 11:41:47
 */
public class SaleCarModel implements Serializable {
	
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    private String id;
    /**
     * 销售合同ID
     */
    private String saleBookId;
    /**
     * 销售合同
     */
    private SaleBookModel saleBook;
    /**
     * 库存车辆
     */
    private String productCarId;
    private String productCarName;
    /**
     * 车辆VIn
     */
    private String vin;
    /**
     * 精品消费总额
     */
    private BigDecimal boutiqueSumCost;
    /**
     * 销售车辆对应精品
     */
    private List<SaleBoutiqueModel> saleBoutiqueList;
    /**
     * 交车日期
     */
    private Date overDate;
    /**
     * 上牌费用
     */
    private BigDecimal plateCost;
    /**
     * 购置税
     */
    private BigDecimal acquireCost;
    /**
     * 保险公司Id
     */
    private String financecompanyId;
    /**
     * 保险公司名称
     */
    private String financecompanyName;
    /**
     * 提成方式(1员工利润百分比 2全额百分比 3手续费)
     */
    private String insuranceType;
    /**
     * 保险手续费用
     */
    private BigDecimal financePoundage;
    /**
     * 保险利润比例
     */
    private BigDecimal financeProfit;
    /**
     * 交强险
     */
    private BigDecimal trafficCost;
    /**
     * 商业险
     */
    private BigDecimal insuranceCost;
    
    /**
     * 付款方式 (1：全款、2：分期)
     */
    private Integer payment;
    /**
     * 总金额
     */
    private BigDecimal sumCost;
    /**
     * 整车利润
     */
    private BigDecimal reducedProfit;
    /**
     * 保险公司Id
     */
    private String insurancecompanyId;
    /**
     * 保险公司名称
     */
    private String insurancecompanyName;
    /**
     * 保险手续费用
     */
    private BigDecimal insurancePoundage;
    /**
     * 保险利润比例
     */
    private BigDecimal insuranceProfit;
    /**
     * 首付
     */
    private BigDecimal downPayment;
    private BigDecimal downPaymentSum;
    /**
     * 贷款金额
     */
    private BigDecimal loanCost;
    /**
     * 期数
     */
    private Integer nper;
    /**
     * 月供
     */
    private BigDecimal monthPayment;
    /**
     * 显示
     */
    private boolean showCar;
    
    private String saleName;
    private String customerName;
    private String customerPhone;
    private String carVin;
    private String carCode;
    private String carSerie;
    private String carModel;
    private String config;
    private String design;
    private String selection;
    private String colour;
    private BigDecimal guidePrice;
    private BigDecimal advicePrice;
    /**
     * 优惠额
     */
    private BigDecimal reducedPrice;
    private BigDecimal boutiqueCost;
    private BigDecimal boutiqueBook;
    private BigDecimal boutiqueProfit;

    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public String getId() {
        return id;
    }
    /**
     * 设置：
     */
    public void setSaleBookId(String saleBookId) {
        this.saleBookId = saleBookId;
    }

    /**
     * 获取：
     */
    public String getSaleBookId() {
        return saleBookId;
    }
    
    public SaleBookModel getSaleBook() {
		return saleBook;
	}

	public void setSaleBook(SaleBookModel saleBook) {
		this.saleBook = saleBook;
	}

	/**
     * 设置：库存车辆
     */
    public void setProductCarId(String productCarId) {
        this.productCarId = productCarId;
    }

    /**
     * 获取：库存车辆
     */
    public String getProductCarId() {
        return productCarId;
    }
    public String getProductCarName() {
		return productCarName;
	}

	public List<SaleBoutiqueModel> getSaleBoutiqueList() {
		return saleBoutiqueList;
	}
	public void setSaleBoutiqueList(List<SaleBoutiqueModel> saleBoutiqueList) {
		this.saleBoutiqueList = saleBoutiqueList;
	}

	public void setProductCarName(String productCarName) {
		this.productCarName = productCarName;
	}
	
	public String getVin() {
		return vin;
	}

	public void setVin(String vin) {
		this.vin = vin;
	}

	public BigDecimal getBoutiqueSumCost() {
		return boutiqueSumCost;
	}

	public void setBoutiqueSumCost(BigDecimal boutiqueSumCost) {
		this.boutiqueSumCost = boutiqueSumCost;
	}

	/**
     * 设置：交车日期
     */
    public void setOverDate(Date overDate) {
        this.overDate = overDate;
    }

    /**
     * 获取：交车日期
     */
    public Date getOverDate() {
        return overDate;
    }
    /**
     * 设置：上牌费用
     */
    public void setPlateCost(BigDecimal plateCost) {
        this.plateCost = plateCost;
    }

    /**
     * 获取：上牌费用
     */
    public BigDecimal getPlateCost() {
        return plateCost;
    }
    /**
     * 设置：购置税
     */
    public void setAcquireCost(BigDecimal acquireCost) {
        this.acquireCost = acquireCost;
    }

    /**
     * 获取：购置税
     */
    public BigDecimal getAcquireCost() {
        return acquireCost;
    }
    /**
     * 设置：保险费用
     */
    public void setInsuranceCost(BigDecimal insuranceCost) {
        this.insuranceCost = insuranceCost;
    }

    /**
     * 获取：保险费用
     */
    public BigDecimal getInsuranceCost() {
        return insuranceCost;
    }
    public Integer getPayment() {
		return payment;
	}

	public void setPayment(Integer payment) {
		this.payment = payment;
	}

	/**
     * 设置：总金额
     */
    public void setSumCost(BigDecimal sumCost) {
        this.sumCost = sumCost;
    }

    /**
     * 获取：总金额
     */
    public BigDecimal getSumCost() {
        return sumCost;
    }
    public BigDecimal getReducedProfit() {
		return reducedProfit;
	}

	public void setReducedProfit(BigDecimal reducedProfit) {
		this.reducedProfit = reducedProfit;
	}

	/**
     * 设置：首付
     */
    public void setDownPayment(BigDecimal downPayment) {
        this.downPayment = downPayment;
    }

    /**
     * 获取：首付
     */
    public BigDecimal getDownPayment() {
        return downPayment;
    }
    /**
     * 设置：期数
     */
    public void setNper(Integer nper) {
        this.nper = nper;
    }

    /**
     * 获取：期数
     */
    public Integer getNper() {
        return nper;
    }
    /**
     * 设置：月供
     */
    public void setMonthPayment(BigDecimal monthPayment) {
        this.monthPayment = monthPayment;
    }

    /**
     * 获取：月供
     */
    public BigDecimal getMonthPayment() {
        return monthPayment;
    }

	public boolean isShowCar() {
		return showCar;
	}

	public void setShowCar(boolean showCar) {
		this.showCar = showCar;
	}

	public String getFinancecompanyId() {
		return financecompanyId;
	}

	public void setFinancecompanyId(String financecompanyId) {
		this.financecompanyId = financecompanyId;
	}

	public String getFinancecompanyName() {
		return financecompanyName;
	}

	public void setFinancecompanyName(String financecompanyName) {
		this.financecompanyName = financecompanyName;
	}

	public BigDecimal getFinancePoundage() {
		return financePoundage;
	}

	public void setFinancePoundage(BigDecimal financePoundage) {
		this.financePoundage = financePoundage;
	}

	public BigDecimal getFinanceProfit() {
		return financeProfit;
	}

	public void setFinanceProfit(BigDecimal financeProfit) {
		this.financeProfit = financeProfit;
	}

	public BigDecimal getTrafficCost() {
		return trafficCost;
	}

	public void setTrafficCost(BigDecimal trafficCost) {
		this.trafficCost = trafficCost;
	}

	public String getInsurancecompanyId() {
		return insurancecompanyId;
	}

	public void setInsurancecompanyId(String insurancecompanyId) {
		this.insurancecompanyId = insurancecompanyId;
	}

	public String getInsurancecompanyName() {
		return insurancecompanyName;
	}

	public void setInsurancecompanyName(String insurancecompanyName) {
		this.insurancecompanyName = insurancecompanyName;
	}

	public BigDecimal getInsurancePoundage() {
		return insurancePoundage;
	}

	public void setInsurancePoundage(BigDecimal insurancePoundage) {
		this.insurancePoundage = insurancePoundage;
	}

	public BigDecimal getInsuranceProfit() {
		return insuranceProfit;
	}

	public void setInsuranceProfit(BigDecimal insuranceProfit) {
		this.insuranceProfit = insuranceProfit;
	}

    public String getInsuranceType() {
        return insuranceType;
    }

    public void setInsuranceType(String insuranceType) {
        this.insuranceType = insuranceType;
    }

	public String getSaleName() {
		return saleName;
	}

	public void setSaleName(String saleName) {
		this.saleName = saleName;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getCustomerPhone() {
		return customerPhone;
	}

	public void setCustomerPhone(String customerPhone) {
		this.customerPhone = customerPhone;
	}

	public String getCarVin() {
		return carVin;
	}

	public void setCarVin(String carVin) {
		this.carVin = carVin;
	}

	public String getCarSerie() {
		return carSerie;
	}

	public void setCarSerie(String carSerie) {
		this.carSerie = carSerie;
	}

	public String getCarModel() {
		return carModel;
	}

	public void setCarModel(String carModel) {
		this.carModel = carModel;
	}

	public String getSelection() {
		return selection;
	}

	public void setSelection(String selection) {
		this.selection = selection;
	}

	public String getColour() {
		return colour;
	}

	public void setColour(String colour) {
		this.colour = colour;
	}

	public String getConfig() {
		return config;
	}

	public void setConfig(String config) {
		this.config = config;
	}

	public String getDesign() {
		return design;
	}

	public void setDesign(String design) {
		this.design = design;
	}

	public BigDecimal getGuidePrice() {
		return guidePrice;
	}

	public void setGuidePrice(BigDecimal guidePrice) {
		this.guidePrice = guidePrice;
	}

	public BigDecimal getAdvicePrice() {
		return advicePrice;
	}

	public void setAdvicePrice(BigDecimal advicePrice) {
		this.advicePrice = advicePrice;
	}

	public BigDecimal getReducedPrice() {
		return reducedPrice;
	}

	public void setReducedPrice(BigDecimal reducedPrice) {
		this.reducedPrice = reducedPrice;
	}

	public BigDecimal getBoutiqueCost() {
		return boutiqueCost;
	}

	public void setBoutiqueCost(BigDecimal boutiqueCost) {
		this.boutiqueCost = boutiqueCost;
	}

	public BigDecimal getBoutiqueBook() {
		return boutiqueBook;
	}

	public void setBoutiqueBook(BigDecimal boutiqueBook) {
		this.boutiqueBook = boutiqueBook;
	}

	public BigDecimal getLoanCost() {
		return loanCost;
	}

	public void setLoanCost(BigDecimal loanCost) {
		this.loanCost = loanCost;
	}

	public BigDecimal getBoutiqueProfit() {
		return boutiqueProfit;
	}

	public void setBoutiqueProfit(BigDecimal boutiqueProfit) {
		this.boutiqueProfit = boutiqueProfit;
	}

	public BigDecimal getDownPaymentSum() {
		return downPaymentSum;
	}

	public void setDownPaymentSum(BigDecimal downPaymentSum) {
		this.downPaymentSum = downPaymentSum;
	}

	public String getCarCode() {
		return carCode;
	}

	public void setCarCode(String carCode) {
		this.carCode = carCode;
	}
}
